package com.bj.dljd.models.query;

import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

@Data
public class ProductQuery {
    @NotNull(message = "缺少支付商品编码")
    @Size(min = 5,max = 20,message = "支付商品编码长度为{min}-{max}位")
    private String productCode;

    @NotNull(message = "缺少支付商品编码")
    @Size(min = 6,max = 50,message = "支付商品编码长度为{min}-{max}位")
    private String productName;
}
